package org.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.example.common.R;
import org.example.pojo.entity.WmNews;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.pojo.vo.WmNewsVo;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 自媒体图文内容信息表 服务类
 * </p>
 *
 * @author author
 * @since 2025-01-26
 */
public interface IWmNewsService extends IService<WmNews> {

    Page listNews(Integer page, Integer size, String channelId, String title);

    WmNewsVo getNewsDetail(Integer newsId, HttpServletRequest request);

    void publish(WmNews wmNews);

    R person(int page,int size,String type,String param);


}
